package xrz.xuanbao.modular.mine.baoku;

import java.util.ArrayList;
import java.util.List;

import org.xutils.view.annotation.ViewInject;

import xrz.cuanbao.R;
import android.widget.ListView;

import com.xrz.sxm.base.activity.BaseAct;

public class Act_MyBaoKuFaQi extends BaseAct {
	@ViewInject(R.id.yongyou_lv)
	private ListView mListView;
	private List<String> datas = new ArrayList<String>();
	private Adapter_FaQi adapter;

	@Override
	protected int setContentView() {
		return R.layout.layout_baoku_yongyou;
	}

	@Override
	protected void initData() {
		adapter = new Adapter_FaQi(this);
		test();
		adapter.appendToList(datas);
		mListView.setAdapter(adapter);
	}

	private void test() {
		for (int i = 0; i < 20; i++) {
			datas.add("http://img5.imgtn.bdimg.com/it/u=3580210867,3098509580&fm=21&gp=0.jpg");
		}
	}

	@Override
	protected String setTitle() {
		return null;
	}

	@Override
	protected boolean topViewHide() {
		return true;
	}
}
